<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="/fuman/js/oversea.js"></script>
<title>正向开发详细报表</title>
<body class="withvernav">
<div class="bodywrapper"> {{include file='/public/leftmenu.tpl'}}
	<div class="centercontent">
		<div class="pageheader notab">
			<h1 class="pagetitle">正向开发详细报表</h1>
			<span class="pagedesc"></span>
			<div class="menulist">
				<ul class="profile_summary">
					<li class="current"></li>
				</ul>
			</div>
		</div>
		<!--pageheader-->

		<div id="contentwrapper" class="contentwrapper">
			<div id="basicform" class="subcontent">
				<form class="stdform stdform2"  id="theFrom" method="post" action="">
					<table cellpadding="0" cellspacing="0" border="0" class="stdtable">
						<colgroup>
							<col class="con1" />
							<col class="con0" />
							<col class="con1" />
							<col class="con0" />
							<col class="con1" />
							<col class="con0" />
							<col class="con1" />
						</colgroup>
						<thead>
						<tr>
							<th class="head0">订单号</th>
							<th class="head1">来源</th>
							<th class="head1">商品金额</th>
							<th class="head1">运费收入</th>
							<th class="head1">平台费</th>
							<th class="head1">付款交易费</th>
							<th class="head1">物流成本</th>
							<th class="head1">商品成本</th>
							<th class="head1">利润</th>
							<th class="head0">店铺</th>
							<th class="head0">发货时间</th>
						</tr>
						</thead>
						<tbody>
						<tr>
							<td colspan="11" align="left">
								商品销售总金额：{{$total_money}}
								&nbsp;
								商品总成本：{{$total_costprice}}
								&nbsp;
								商品总利润:{{$total_profit}}

							</td>
						</tr>
						{{foreach from=$list item=li key=key}}
						<tr>
							<td>
								{{if $li.iscome==2}}
								<a href="/order/editFBAorder?order_id={{$li.order_id}}" target="_blank">{{$li.order_sn}}</a>
								{{else}}
								<a href="/orderlist/editorder?order_id={{$li.order_id}}" target="_blank">{{$li.order_sn}}</a>
								{{/if}}
							</td>
							<td>
								{{$li.order_source}}
							</td>
							<td>{{$li.goods_amount}}</td>
							<td>{{$li.shipping_fee}}</td>
							<td>{{$li.platform_fee}}</td>
							<td>{{$li.pay_fee}}</td>
							<td>
								{{if $li.shipping_realfee>0}}{{$li.shipping_realfee}}{{else}}{{$li.shipping_expectfee}} {{/if}}</td>
							<td>{{$li.costprice}}</td>
							<td>{{$li.profit}}</td>
							<td>{{$li.shopname}}</td>
							<td>{{$li.shipping_time}}</td>
						</tr>
						{{/foreach}}
						{{if $listamazon}}
							<tr>
								<td colspan="11">
									<span style="color:red">以下为亚马逊平台订单</span>
								</td>
							</tr>
							{{foreach from=$listamazon item=li key=key}}
							<tr>
								<td>
									<a href="/order/editFBAorder?order_id={{$li.order_id}}" target="_blank">{{$li.order_sn}}</a>
								</td>
								<td>
									亚马逊平台
								</td>
								<td>{{$li.goods_amount}}</td>
								<td>{{$li.shipping_fee}}</td>
								<td>{{$li.platform_fee}}</td>
								<td>{{$li.pay_fee}}</td>
								<td>
								</td>
								<td>{{$li.costprice}}</td>
								<td></td>
								<td>{{$li.shopname}}</td>
								<td></td>
							</tr>
							{{/foreach}}
						{{/if}}
						</tbody>
						<thead>
						<tr>
							<th class="head0">订单号</th>
							<th class="head1">来源</th>
							<th class="head1">商品金额</th>
							<th class="head1">运费收入</th>
							<th class="head1">平台费</th>
							<th class="head1">付款交易费</th>
							<th class="head1">物流成本</th>
							<th class="head1">商品成本</th>
							<th class="head1">利润</th>
							<th class="head0">店铺</th>
							<th class="head0">发货时间</th>
						</tr>
						</thead>
					</table>

				</form>
				<br />
			</div>
			<!--subcontent-->

			<!--subcontent-->

		</div>
		<!--contentwrapper-->

	</div>
	<!-- centercontent -->

</div>

</body>
</html>